import { inject } from "vue"

export default function useApplication() {
  const global = inject("global")
  const goApplication = (route) => {
    global.mainRouter.push(route)
  }
  return {
    goApplication,
    global
  }
}
